#ifndef INC_OBSERVER_H
#define INC_OBSERVER_H

class Observable;

// interface
class Observer
{
	public:
		/**
		 * This is called by attached Observables whenever the associated action
		 * occurs.
		 * @param o a pointer to the Observable sending the notification. Don't
		 * store it.
		 */
		virtual void update(Observable* o) = 0;
};

#endif // INC_OBSERVER_H

